\(\int \frac {(d+e x^2) (a+b \text {arccosh}(c x))}{x^3} \, dx\) [468]

   Optimal result
   Rubi [A] (verified)
   Mathematica [A] (verified)
   Maple [A] (verified)
   Fricas [F]
   Sympy [F]
   Maxima [F]
   Giac [F]
   Mupad [F(-1)]

Optimal result

Integrand size = 19, antiderivative size = 251 \[ \int \frac {\left (d+e x^2\right ) (a+b \text {arccosh}(c x))}{x^3} \, dx=\frac {b c d \sqrt {-1+c x} \sqrt {1+c x}}{2 x}-\frac {d (a+b \text {arccosh}(c x))}{2 x^2}-\frac {i b e \sqrt {1-c^2 x^2} \arcsin (c x)^2}{2 \sqrt {-1+c x} \sqrt {1+c x}}+\frac {b e \sqrt {1-c^2 x^2} \arcsin (c x) \log \left (1-e^{2 i \arcsin (c x)}\right )}{\sqrt {-1+c x} \sqrt {1+c x}}+e (a+b \text {arccosh}(c x)) \log (x)-\frac {b e \sqrt {1-c^2 x^2} \arcsin (c x) \log (x)}{\sqrt {-1+c x} \sqrt {1+c x}}-\frac {i b e \sqrt {1-c^2 x^2} \operatorname {PolyLog}\left (2,e^{2 i \arcsin (c x)}\right )}{2 \sqrt {-1+c x} \sqrt {1+c x}} \]

[Out]

-1/2*d*(a+b*arccosh(c*x))/x^2+e*(a+b*arccosh(c*x))*ln(x)+1/2*b*c*d*(c*x-1)^(1/2)*(c*x+1)^(1/2)/x-1/2*I*b*e*arc
sin(c*x)^2*(-c^2*x^2+1)^(1/2)/(c*x-1)^(1/2)/(c*x+1)^(1/2)+b*e*arcsin(c*x)*ln(1-(I*c*x+(-c^2*x^2+1)^(1/2))^2)*(
-c^2*x^2+1)^(1/2)/(c*x-1)^(1/2)/(c*x+1)^(1/2)-b*e*arcsin(c*x)*ln(x)*(-c^2*x^2+1)^(1/2)/(c*x-1)^(1/2)/(c*x+1)^(
1/2)-1/2*I*b*e*polylog(2,(I*c*x+(-c^2*x^2+1)^(1/2))^2)*(-c^2*x^2+1)^(1/2)/(c*x-1)^(1/2)/(c*x+1)^(1/2)

Rubi [A] (verified)

Time = 0.42 (sec) , antiderivative size = 251, normalized size of antiderivative = 1.00, number of steps used = 11, number of rules used = 11, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.579, Rules used = {14, 5958, 6874, 97, 2365, 2363, 4721, 3798, 2221, 2317, 2438} \[ \int \frac {\left (d+e x^2\right ) (a+b \text {arccosh}(c x))}{x^3} \, dx=-\frac {d (a+b \text {arccosh}(c x))}{2 x^2}+e \log (x) (a+b \text {arccosh}(c x))-\frac {i b e \sqrt {1-c^2 x^2} \operatorname {PolyLog}\left (2,e^{2 i \arcsin (c x)}\right )}{2 \sqrt {c x-1} \sqrt {c x+1}}-\frac {i b e \sqrt {1-c^2 x^2} \arcsin (c x)^2}{2 \sqrt {c x-1} \sqrt {c x+1}}+\frac {b e \sqrt {1-c^2 x^2} \arcsin (c x) \log \left (1-e^{2 i \arcsin (c x)}\right )}{\sqrt {c x-1} \sqrt {c x+1}}-\frac {b e \sqrt {1-c^2 x^2} \log (x) \arcsin (c x)}{\sqrt {c x-1} \sqrt {c x+1}}+\frac {b c d \sqrt {c x-1} \sqrt {c x+1}}{2 x} \]

[In]

Int[((d + e*x^2)*(a + b*ArcCosh[c*x]))/x^3,x]

[Out]

(b*c*d*Sqrt[-1 + c*x]*Sqrt[1 + c*x])/(2*x) - (d*(a + b*ArcCosh[c*x]))/(2*x^2) - ((I/2)*b*e*Sqrt[1 - c^2*x^2]*A
rcSin[c*x]^2)/(Sqrt[-1 + c*x]*Sqrt[1 + c*x]) + (b*e*Sqrt[1 - c^2*x^2]*ArcSin[c*x]*Log[1 - E^((2*I)*ArcSin[c*x]
)])/(Sqrt[-1 + c*x]*Sqrt[1 + c*x]) + e*(a + b*ArcCosh[c*x])*Log[x] - (b*e*Sqrt[1 - c^2*x^2]*ArcSin[c*x]*Log[x]
)/(Sqrt[-1 + c*x]*Sqrt[1 + c*x]) - ((I/2)*b*e*Sqrt[1 - c^2*x^2]*PolyLog[2, E^((2*I)*ArcSin[c*x])])/(Sqrt[-1 +
c*x]*Sqrt[1 + c*x])

Rule 14

Int[(u_)*((c_.)*(x_))^(m_.), x_Symbol] :> Int[ExpandIntegrand[(c*x)^m*u, x], x] /; FreeQ[{c, m}, x] && SumQ[u]
 &&  !LinearQ[u, x] &&  !MatchQ[u, (a_) + (b_.)*(v_) /; FreeQ[{a, b}, x] && InverseFunctionQ[v]]

Rule 97

Int[((a_.) + (b_.)*(x_))^(m_)*((c_.) + (d_.)*(x_))^(n_.)*((e_.) + (f_.)*(x_))^(p_.), x_Symbol] :> Simp[b*(a +
b*x)^(m + 1)*(c + d*x)^(n + 1)*((e + f*x)^(p + 1)/((m + 1)*(b*c - a*d)*(b*e - a*f))), x] /; FreeQ[{a, b, c, d,
 e, f, m, n, p}, x] && EqQ[Simplify[m + n + p + 3], 0] && EqQ[a*d*f*(m + 1) + b*c*f*(n + 1) + b*d*e*(p + 1), 0
] && NeQ[m, -1]

Rule 2221

Int[(((F_)^((g_.)*((e_.) + (f_.)*(x_))))^(n_.)*((c_.) + (d_.)*(x_))^(m_.))/((a_) + (b_.)*((F_)^((g_.)*((e_.) +
 (f_.)*(x_))))^(n_.)), x_Symbol] :> Simp[((c + d*x)^m/(b*f*g*n*Log[F]))*Log[1 + b*((F^(g*(e + f*x)))^n/a)], x]
 - Dist[d*(m/(b*f*g*n*Log[F])), Int[(c + d*x)^(m - 1)*Log[1 + b*((F^(g*(e + f*x)))^n/a)], x], x] /; FreeQ[{F,
a, b, c, d, e, f, g, n}, x] && IGtQ[m, 0]

Rule 2317

Int[Log[(a_) + (b_.)*((F_)^((e_.)*((c_.) + (d_.)*(x_))))^(n_.)], x_Symbol] :> Dist[1/(d*e*n*Log[F]), Subst[Int
[Log[a + b*x]/x, x], x, (F^(e*(c + d*x)))^n], x] /; FreeQ[{F, a, b, c, d, e, n}, x] && GtQ[a, 0]

Rule 2363

Int[((a_.) + Log[(c_.)*(x_)^(n_.)]*(b_.))/Sqrt[(d_) + (e_.)*(x_)^2], x_Symbol] :> Simp[ArcSin[Rt[-e, 2]*(x/Sqr
t[d])]*((a + b*Log[c*x^n])/Rt[-e, 2]), x] - Dist[b*(n/Rt[-e, 2]), Int[ArcSin[Rt[-e, 2]*(x/Sqrt[d])]/x, x], x]
/; FreeQ[{a, b, c, d, e, n}, x] && GtQ[d, 0] && NegQ[e]

Rule 2365

Int[((a_.) + Log[(c_.)*(x_)^(n_.)]*(b_.))/(Sqrt[(d1_) + (e1_.)*(x_)]*Sqrt[(d2_) + (e2_.)*(x_)]), x_Symbol] :>
Dist[Sqrt[1 + e1*(e2/(d1*d2))*x^2]/(Sqrt[d1 + e1*x]*Sqrt[d2 + e2*x]), Int[(a + b*Log[c*x^n])/Sqrt[1 + e1*(e2/(
d1*d2))*x^2], x], x] /; FreeQ[{a, b, c, d1, e1, d2, e2, n}, x] && EqQ[d2*e1 + d1*e2, 0]

Rule 2438

Int[Log[(c_.)*((d_) + (e_.)*(x_)^(n_.))]/(x_), x_Symbol] :> Simp[-PolyLog[2, (-c)*e*x^n]/n, x] /; FreeQ[{c, d,
 e, n}, x] && EqQ[c*d, 1]

Rule 3798

Int[((c_.) + (d_.)*(x_))^(m_.)*tan[(e_.) + Pi*(k_.) + (f_.)*(x_)], x_Symbol] :> Simp[I*((c + d*x)^(m + 1)/(d*(
m + 1))), x] - Dist[2*I, Int[(c + d*x)^m*E^(2*I*k*Pi)*(E^(2*I*(e + f*x))/(1 + E^(2*I*k*Pi)*E^(2*I*(e + f*x))))
, x], x] /; FreeQ[{c, d, e, f}, x] && IntegerQ[4*k] && IGtQ[m, 0]

Rule 4721

Int[((a_.) + ArcSin[(c_.)*(x_)]*(b_.))^(n_.)/(x_), x_Symbol] :> Subst[Int[(a + b*x)^n*Cot[x], x], x, ArcSin[c*
x]] /; FreeQ[{a, b, c}, x] && IGtQ[n, 0]

Rule 5958

Int[((a_.) + ArcCosh[(c_.)*(x_)]*(b_.))*((f_.)*(x_))^(m_.)*((d_) + (e_.)*(x_)^2)^(p_.), x_Symbol] :> With[{u =
 IntHide[(f*x)^m*(d + e*x^2)^p, x]}, Dist[a + b*ArcCosh[c*x], u, x] - Dist[b*c, Int[SimplifyIntegrand[u/(Sqrt[
1 + c*x]*Sqrt[-1 + c*x]), x], x], x]] /; FreeQ[{a, b, c, d, e, f, m}, x] && NeQ[c^2*d + e, 0] && IntegerQ[p] &
& (GtQ[p, 0] || (IGtQ[(m - 1)/2, 0] && LeQ[m + p, 0]))

Rule 6874

Int[u_, x_Symbol] :> With[{v = ExpandIntegrand[u, x]}, Int[v, x] /; SumQ[v]]

Rubi steps \begin{align*} \text {integral}& = -\frac {d (a+b \text {arccosh}(c x))}{2 x^2}+e (a+b \text {arccosh}(c x)) \log (x)-(b c) \int \frac {-\frac {d}{2 x^2}+e \log (x)}{\sqrt {-1+c x} \sqrt {1+c x}} \, dx \\ & = -\frac {d (a+b \text {arccosh}(c x))}{2 x^2}+e (a+b \text {arccosh}(c x)) \log (x)-(b c) \int \left (-\frac {d}{2 x^2 \sqrt {-1+c x} \sqrt {1+c x}}+\frac {e \log (x)}{\sqrt {-1+c x} \sqrt {1+c x}}\right ) \, dx \\ & = -\frac {d (a+b \text {arccosh}(c x))}{2 x^2}+e (a+b \text {arccosh}(c x)) \log (x)+\frac {1}{2} (b c d) \int \frac {1}{x^2 \sqrt {-1+c x} \sqrt {1+c x}} \, dx-(b c e) \int \frac {\log (x)}{\sqrt {-1+c x} \sqrt {1+c x}} \, dx \\ & = \frac {b c d \sqrt {-1+c x} \sqrt {1+c x}}{2 x}-\frac {d (a+b \text {arccosh}(c x))}{2 x^2}+e (a+b \text {arccosh}(c x)) \log (x)-\frac {\left (b c e \sqrt {1-c^2 x^2}\right ) \int \frac {\log (x)}{\sqrt {1-c^2 x^2}} \, dx}{\sqrt {-1+c x} \sqrt {1+c x}} \\ & = \frac {b c d \sqrt {-1+c x} \sqrt {1+c x}}{2 x}-\frac {d (a+b \text {arccosh}(c x))}{2 x^2}+e (a+b \text {arccosh}(c x)) \log (x)-\frac {b e \sqrt {1-c^2 x^2} \arcsin (c x) \log (x)}{\sqrt {-1+c x} \sqrt {1+c x}}+\frac {\left (b e \sqrt {1-c^2 x^2}\right ) \int \frac {\arcsin (c x)}{x} \, dx}{\sqrt {-1+c x} \sqrt {1+c x}} \\ & = \frac {b c d \sqrt {-1+c x} \sqrt {1+c x}}{2 x}-\frac {d (a+b \text {arccosh}(c x))}{2 x^2}+e (a+b \text {arccosh}(c x)) \log (x)-\frac {b e \sqrt {1-c^2 x^2} \arcsin (c x) \log (x)}{\sqrt {-1+c x} \sqrt {1+c x}}+\frac {\left (b e \sqrt {1-c^2 x^2}\right ) \text {Subst}(\int x \cot (x) \, dx,x,\arcsin (c x))}{\sqrt {-1+c x} \sqrt {1+c x}} \\ & = \frac {b c d \sqrt {-1+c x} \sqrt {1+c x}}{2 x}-\frac {d (a+b \text {arccosh}(c x))}{2 x^2}-\frac {i b e \sqrt {1-c^2 x^2} \arcsin (c x)^2}{2 \sqrt {-1+c x} \sqrt {1+c x}}+e (a+b \text {arccosh}(c x)) \log (x)-\frac {b e \sqrt {1-c^2 x^2} \arcsin (c x) \log (x)}{\sqrt {-1+c x} \sqrt {1+c x}}-\frac {\left (2 i b e \sqrt {1-c^2 x^2}\right ) \text {Subst}\left (\int \frac {e^{2 i x} x}{1-e^{2 i x}} \, dx,x,\arcsin (c x)\right )}{\sqrt {-1+c x} \sqrt {1+c x}} \\ & = \frac {b c d \sqrt {-1+c x} \sqrt {1+c x}}{2 x}-\frac {d (a+b \text {arccosh}(c x))}{2 x^2}-\frac {i b e \sqrt {1-c^2 x^2} \arcsin (c x)^2}{2 \sqrt {-1+c x} \sqrt {1+c x}}+\frac {b e \sqrt {1-c^2 x^2} \arcsin (c x) \log \left (1-e^{2 i \arcsin (c x)}\right )}{\sqrt {-1+c x} \sqrt {1+c x}}+e (a+b \text {arccosh}(c x)) \log (x)-\frac {b e \sqrt {1-c^2 x^2} \arcsin (c x) \log (x)}{\sqrt {-1+c x} \sqrt {1+c x}}-\frac {\left (b e \sqrt {1-c^2 x^2}\right ) \text {Subst}\left (\int \log \left (1-e^{2 i x}\right ) \, dx,x,\arcsin (c x)\right )}{\sqrt {-1+c x} \sqrt {1+c x}} \\ & = \frac {b c d \sqrt {-1+c x} \sqrt {1+c x}}{2 x}-\frac {d (a+b \text {arccosh}(c x))}{2 x^2}-\frac {i b e \sqrt {1-c^2 x^2} \arcsin (c x)^2}{2 \sqrt {-1+c x} \sqrt {1+c x}}+\frac {b e \sqrt {1-c^2 x^2} \arcsin (c x) \log \left (1-e^{2 i \arcsin (c x)}\right )}{\sqrt {-1+c x} \sqrt {1+c x}}+e (a+b \text {arccosh}(c x)) \log (x)-\frac {b e \sqrt {1-c^2 x^2} \arcsin (c x) \log (x)}{\sqrt {-1+c x} \sqrt {1+c x}}+\frac {\left (i b e \sqrt {1-c^2 x^2}\right ) \text {Subst}\left (\int \frac {\log (1-x)}{x} \, dx,x,e^{2 i \arcsin (c x)}\right )}{2 \sqrt {-1+c x} \sqrt {1+c x}} \\ & = \frac {b c d \sqrt {-1+c x} \sqrt {1+c x}}{2 x}-\frac {d (a+b \text {arccosh}(c x))}{2 x^2}-\frac {i b e \sqrt {1-c^2 x^2} \arcsin (c x)^2}{2 \sqrt {-1+c x} \sqrt {1+c x}}+\frac {b e \sqrt {1-c^2 x^2} \arcsin (c x) \log \left (1-e^{2 i \arcsin (c x)}\right )}{\sqrt {-1+c x} \sqrt {1+c x}}+e (a+b \text {arccosh}(c x)) \log (x)-\frac {b e \sqrt {1-c^2 x^2} \arcsin (c x) \log (x)}{\sqrt {-1+c x} \sqrt {1+c x}}-\frac {i b e \sqrt {1-c^2 x^2} \operatorname {PolyLog}\left (2,e^{2 i \arcsin (c x)}\right )}{2 \sqrt {-1+c x} \sqrt {1+c x}} \\ \end{align*}

Mathematica [A] (verified)

Time = 0.08 (sec) , antiderivative size = 100, normalized size of antiderivative = 0.40 \[ \int \frac {\left (d+e x^2\right ) (a+b \text {arccosh}(c x))}{x^3} \, dx=-\frac {a d}{2 x^2}+\frac {b c d \sqrt {-1+c x} \sqrt {1+c x}}{2 x}-\frac {b d \text {arccosh}(c x)}{2 x^2}+a e \log (x)+\frac {1}{2} b e \left (\text {arccosh}(c x) \left (\text {arccosh}(c x)+2 \log \left (1+e^{-2 \text {arccosh}(c x)}\right )\right )-\operatorname {PolyLog}\left (2,-e^{-2 \text {arccosh}(c x)}\right )\right ) \]

[In]

Integrate[((d + e*x^2)*(a + b*ArcCosh[c*x]))/x^3,x]

[Out]

-1/2*(a*d)/x^2 + (b*c*d*Sqrt[-1 + c*x]*Sqrt[1 + c*x])/(2*x) - (b*d*ArcCosh[c*x])/(2*x^2) + a*e*Log[x] + (b*e*(
ArcCosh[c*x]*(ArcCosh[c*x] + 2*Log[1 + E^(-2*ArcCosh[c*x])]) - PolyLog[2, -E^(-2*ArcCosh[c*x])]))/2

Maple [A] (verified)

Time = 0.60 (sec) , antiderivative size = 135, normalized size of antiderivative = 0.54

method result size
derivativedivides \(c^{2} \left (\frac {a e \ln \left (c x \right )}{c^{2}}-\frac {a d}{2 c^{2} x^{2}}+\frac {b \left (-\frac {e \operatorname {arccosh}\left (c x \right )^{2}}{2}-\frac {d \left (-\sqrt {c x -1}\, \sqrt {c x +1}\, c x +c^{2} x^{2}+\operatorname {arccosh}\left (c x \right )\right )}{2 x^{2}}+\ln \left (1+\left (c x +\sqrt {c x -1}\, \sqrt {c x +1}\right )^{2}\right ) e \,\operatorname {arccosh}\left (c x \right )+\frac {\operatorname {polylog}\left (2, -\left (c x +\sqrt {c x -1}\, \sqrt {c x +1}\right )^{2}\right ) e}{2}\right )}{c^{2}}\right )\) \(135\)
default \(c^{2} \left (\frac {a e \ln \left (c x \right )}{c^{2}}-\frac {a d}{2 c^{2} x^{2}}+\frac {b \left (-\frac {e \operatorname {arccosh}\left (c x \right )^{2}}{2}-\frac {d \left (-\sqrt {c x -1}\, \sqrt {c x +1}\, c x +c^{2} x^{2}+\operatorname {arccosh}\left (c x \right )\right )}{2 x^{2}}+\ln \left (1+\left (c x +\sqrt {c x -1}\, \sqrt {c x +1}\right )^{2}\right ) e \,\operatorname {arccosh}\left (c x \right )+\frac {\operatorname {polylog}\left (2, -\left (c x +\sqrt {c x -1}\, \sqrt {c x +1}\right )^{2}\right ) e}{2}\right )}{c^{2}}\right )\) \(135\)
parts \(-\frac {a d}{2 x^{2}}+a e \ln \left (x \right )+b \,c^{2} \left (-\frac {e \operatorname {arccosh}\left (c x \right )^{2}}{2 c^{2}}-\frac {d \left (-\sqrt {c x -1}\, \sqrt {c x +1}\, c x +c^{2} x^{2}+\operatorname {arccosh}\left (c x \right )\right )}{2 c^{2} x^{2}}+\frac {e \,\operatorname {arccosh}\left (c x \right ) \ln \left (1+\left (c x +\sqrt {c x -1}\, \sqrt {c x +1}\right )^{2}\right )}{c^{2}}+\frac {e \operatorname {polylog}\left (2, -\left (c x +\sqrt {c x -1}\, \sqrt {c x +1}\right )^{2}\right )}{2 c^{2}}\right )\) \(135\)

[In]

int((e*x^2+d)*(a+b*arccosh(c*x))/x^3,x,method=_RETURNVERBOSE)

[Out]

c^2*(a/c^2*e*ln(c*x)-1/2*a*d/c^2/x^2+b/c^2*(-1/2*e*arccosh(c*x)^2-1/2*d*(-(c*x-1)^(1/2)*(c*x+1)^(1/2)*c*x+c^2*
x^2+arccosh(c*x))/x^2+ln(1+(c*x+(c*x-1)^(1/2)*(c*x+1)^(1/2))^2)*e*arccosh(c*x)+1/2*polylog(2,-(c*x+(c*x-1)^(1/
2)*(c*x+1)^(1/2))^2)*e))

Fricas [F]

\[ \int \frac {\left (d+e x^2\right ) (a+b \text {arccosh}(c x))}{x^3} \, dx=\int { \frac {{\left (e x^{2} + d\right )} {\left (b \operatorname {arcosh}\left (c x\right ) + a\right )}}{x^{3}} \,d x } \]

[In]

integrate((e*x^2+d)*(a+b*arccosh(c*x))/x^3,x, algorithm="fricas")

[Out]

integral((a*e*x^2 + a*d + (b*e*x^2 + b*d)*arccosh(c*x))/x^3, x)

Sympy [F]

\[ \int \frac {\left (d+e x^2\right ) (a+b \text {arccosh}(c x))}{x^3} \, dx=\int \frac {\left (a + b \operatorname {acosh}{\left (c x \right )}\right ) \left (d + e x^{2}\right )}{x^{3}}\, dx \]

[In]

integrate((e*x**2+d)*(a+b*acosh(c*x))/x**3,x)

[Out]

Integral((a + b*acosh(c*x))*(d + e*x**2)/x**3, x)

Maxima [F]

\[ \int \frac {\left (d+e x^2\right ) (a+b \text {arccosh}(c x))}{x^3} \, dx=\int { \frac {{\left (e x^{2} + d\right )} {\left (b \operatorname {arcosh}\left (c x\right ) + a\right )}}{x^{3}} \,d x } \]

[In]

integrate((e*x^2+d)*(a+b*arccosh(c*x))/x^3,x, algorithm="maxima")

[Out]

1/2*b*d*(sqrt(c^2*x^2 - 1)*c/x - arccosh(c*x)/x^2) + b*e*integrate(log(c*x + sqrt(c*x + 1)*sqrt(c*x - 1))/x, x
) + a*e*log(x) - 1/2*a*d/x^2

Giac [F]

\[ \int \frac {\left (d+e x^2\right ) (a+b \text {arccosh}(c x))}{x^3} \, dx=\int { \frac {{\left (e x^{2} + d\right )} {\left (b \operatorname {arcosh}\left (c x\right ) + a\right )}}{x^{3}} \,d x } \]

[In]

integrate((e*x^2+d)*(a+b*arccosh(c*x))/x^3,x, algorithm="giac")

[Out]

integrate((e*x^2 + d)*(b*arccosh(c*x) + a)/x^3, x)

Mupad [F(-1)]

Timed out. \[ \int \frac {\left (d+e x^2\right ) (a+b \text {arccosh}(c x))}{x^3} \, dx=\int \frac {\left (a+b\,\mathrm {acosh}\left (c\,x\right )\right )\,\left (e\,x^2+d\right )}{x^3} \,d x \]

[In]

int(((a + b*acosh(c*x))*(d + e*x^2))/x^3,x)

[Out]

int(((a + b*acosh(c*x))*(d + e*x^2))/x^3, x)